Split string in data frame depending on units and assign content to specific columns